package com.naiterui.ehp.bs.weixin.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel(value = "LoginVO", description = "登录信息")
public class LoginVO implements Serializable {

    private static final long serialVersionUID = 6644325947662290004L;

    public static final int LOGIN_SUCCESS = 0;
    public static final int LOGIN_UNREGISTER = 1;

    @ApiModelProperty(value = "登陆状态，0：登陆成功；1：未注册", example = "1")
    private Integer loginStatus;
    @ApiModelProperty(value = "用户unionId")
    private String unionId;
    @ApiModelProperty(value = "登陆用户信息", example = "{\"token\":null,\"tokenKey\":null,\"openId\":\"q\"}")
    private LoginUserVO userInfo;

}
